package com.plian.system.entity.fr.bonds;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("cqzc_bonds_apply")
@ApiModel(value = "BondsApply对象", description = "债券申请表")
public class BondsApply {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("组织机构id")
    private String orgId;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("单据类型码")
    private String formType;

    @ApiModelProperty("创建时间")
    private Date createDate;

    @ApiModelProperty("填报单号")
    private String code;

    @ApiModelProperty("决策机构")
    private String decisionMakingBody;

    @ApiModelProperty("发行单位")
    private String issuer;

    @ApiModelProperty("发行单位信用评级")
    private String issuerCredit;

    @ApiModelProperty("所属集团企业")
    private String groupCompany;

    @ApiModelProperty("债券品种")
    private String bondVarieties;

    @ApiModelProperty("债券额度")
    private String quota;

    @ApiModelProperty("主管部门")
    private String competentDepartment;

    @ApiModelProperty("注册批准文号")
    private String registrationApprovalNumber;

    @ApiModelProperty("注册日期")
    private String registrationDate;

    @ApiModelProperty("有效截止日期")
    private String effectiveDeadline;

    @ApiModelProperty("主要用途")
    private String mainPurpose;

    @ApiModelProperty("批复意见")
    private String reply;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("企业级次")
    private String enterpriseGrade;

    @ApiModelProperty("单据创建单位")
    private String createCompanyId;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("修改人")
    private String updateUser;

    @ApiModelProperty("修改时间")
    private Date updateTime;

    @ApiModelProperty("数据来源")
    private String dataSource;

    @ApiModelProperty("数据来源id")
    private String dataSourceId;

    @TableField(exist = false)
    @ApiModelProperty("附件ids")
    private String attachIds;
    private BigDecimal addAmount;
    private  String isYearPlan;

    @ApiModelProperty("发债计划编码")
    private String bondsPlanCode;

    @ApiModelProperty(value = "填报年度")
    private String filingYear;

    @ApiModelProperty(value = "现有批文id")
    private Long existApprovalId;
}
